package com.wyh.domain.dto;

import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
 * <p>
 * 
 * </p>
 *
 * @author wyh
 * @since 2025-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Schema(description="Collections对象")
public class Collections implements Serializable {

    private static final long serialVersionUID = 1L;

//    @TableId(value = "id", type = IdType.NONE)
    private Long id;

    @Schema(description = "所属用户ID")
    private Long userId;

    @Schema(description = "收藏夹名称")
    private String name;

    @Schema(description = "封面图URL")
    private String coverImg;

    @Schema(description = "收藏项数量")
    private Integer itemCount;

    @Schema(description = "是否私有")
    private Boolean isPrivate;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;


}
